import { configureStore } from "@reduxjs/toolkit";
// 导入子模块的reducer
import foodsReducer from "./modules/takeaway";

export default configureStore({
  reducer: {
    // 这里的key要和子模块的name一致
    foods: foodsReducer,
  },
});
